//
//  TstChooseContactCollectionCell.swift
//  TstChat
//
//  Created by wanghui on 2018/5/21.
//  Copyright © 2018年 daerwei. All rights reserved.
//

import UIKit

class TstChooseContactCollectionCell: UICollectionViewCell {
    
    //头像
    lazy var headimage: UIImageView = {
        let headImg = UIImageView.init()
        headImg.cornerRadius = 5
        contentView.addSubview(headImg)
        headImg.isUserInteractionEnabled = false
        return headImg
    }()
    
    override init(frame:CGRect){
        super.init(frame: frame)
        setupUI()
    }
    
    func setupUI(){
        self.contentView.addSubview(headimage)
        headimage.snp.makeConstraints { (make) in
            make.edges.equalToSuperview()
        }
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
}
